package com.training.builder;

public class StringBuilderDemo {

	public static void main(String[] args) {
		StringBuilder builder = new StringBuilder();
		
		builder.append("apple");
		builder.append("orange");
		
		String str = builder.toString();
		
		System.out.println(builder);
		
		builder.reverse();
		System.out.println(builder);
		
		int start = 0;
		int end = builder.length();
		builder.delete(start, end);
		System.out.println(builder+"0");
		
		

	}

}
